//
//  LYDefinitionView.h
//  LYLiveApp
//
//  Created by QD on 16/11/22.
//  Copyright © 2016年 览益信息科技. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VHallMoviePlayer.h"

typedef NS_ENUM(NSInteger,DefinitionViewType)
{
    DefinitionViewMaxClear  = 0,
    DefinitionViewHighClear,
    DefinitionViewNormalClear,
    DefinitionViewOriginClear,
};

typedef void (^DefinitionBlock) (VHallMovieDefinition definition);

@interface LYDefinitionView : UIView
@property (nonatomic,copy) DefinitionBlock definitionblock;
@property (nonatomic,assign) DefinitionViewType viewType;

@property (weak, nonatomic) IBOutlet UIButton *changeDefiBtn;
@property (weak, nonatomic) IBOutlet UIButton *maxClearBtn;
@property (weak, nonatomic) IBOutlet UIButton *highClearBtn;
@property (weak, nonatomic) IBOutlet UIButton *normalClearBtn;
@property (weak, nonatomic) IBOutlet UIButton *originClearBtn;


+ (instancetype)viewWithXib;
@end
